#pragma once

#include "gameobject.h"
#include "HeatPhysics.h"
#include "Events\IListener.h"

#include "Physics.h"

class MetalBox : public GameObject, public HeatPhysics, public IListener
{
private:

	bool canFall;

public:
	// Constructor
	MetalBox(void);

	// Destructor
	~MetalBox(void);

	//////////////////////////////////////////////////
	// GameObject methods:
	void Update(float deltaTime)									override;
	void Render(void) const											override;
	void HandleCollision(GameObject& other, CollisionInfo& info)	override;
	void ResetToCheckPoint(void)									override;
	void ResetToStart(void)											override;

	int Push(CollisionSide side, int amtToMove);
	
	/////////////////////////////////////////////////
	//Handle Events
	void HandleEvent(Event* pEvent)									override;

};

